package com.lyl.lawyer.dao;


import com.lyl.lawyer.model.dto.NavAddDto;
import com.lyl.lawyer.model.dto.NavFindDto;
import com.lyl.lawyer.model.dto.NavUpdateDto;
import com.lyl.lawyer.model.entity.NavModel;

import java.util.List;

public interface NavMapper {

    int add(NavAddDto navAddDto);

    int update(NavUpdateDto navUpdateDto);

    int delete(Integer id);

    NavModel findById(Integer id);

    List<NavModel> findAll(NavFindDto navFindDto);
    int countFindAll(NavFindDto navFindDto);
}
